﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ACSWebRoleDemo_WebRole._Default" ValidateRequest="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Access Control Service in a web role demo</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        By clicking Sign in, you will be authenticated using Access Control Service and Live ID. Your e-mail address will be stored in an Azure table to mark you as 
        a registered user. You could then use this table to store user profiles, etc...<br />
        Your e-mail address will NOT be used in any way to send any kind of e-mail, this is just a demo. But it is good to remember that any site you register to using ACS and LiveID will get your e-mail address...<br />
        <asp:LinkButton ID="lnkSignIn" runat="server" OnClick="lnkSignIn_Click">Sign in</asp:LinkButton><br />
        <asp:LinkButton ID="lnkDoSomething" runat="server" OnClick="lnkDoSomething_Click">Do something</asp:LinkButton>
    </div>
    </form>
</body>
</html>
